package elmar;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;

public class Test extends ActionSupport implements ServletRequestAware{
	
	private static final long serialVersionUID = 7149007521099287811L;

	public String execute() throws Exception {
		return   "success";
	}
	
	public String getMsg(){
		return request.getParameter("msg");

	}
	
	private HttpServletRequest request;

	public void setServletRequest(HttpServletRequest request) {
		this.request = request;
	}
}
